From 27d0b26b94b49acb33a29b30b0d95b0738d653fc Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Wed, 4 Oct 2006 19:00:11 +0100 Subject: [PATCH] Remove redundant '&' before array name in __RING_SIZE macro. Signed-off-by: Richard Miller <9xen@hamnavoe.com> --- xen/include/public/io/ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/public/io/ring.h b/xen/include/public/io/ring.h index 3723ef359d..6b56dc3211 100644 --- a/xen/include/public/io/ring.h +++ b/xen/include/public/io/ring.h @@ -25,7 +25,7 @@ typedef unsigned int RING_IDX; * power of two (so we can mask with (size-1) to loop around). */ #define __RING_SIZE(_s, _sz) \ - (__RD32(((_sz) - (long)&(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0]))) + (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0]))) /* * Macros to make the correct C datatypes for a new kind of ring. -- 2.30.2